#include"dao_gsl_fft.h"

void Dao_Get_Object_Method( DaoCData *cd, DaoObject **ob, DaoRoutine **ro, const char *name )
{
  DValue va;
  if( cd == NULL ) return;
  *ob = DaoCData_GetObject( cd );
  if( *ob == NULL ) return;
  va = DaoObject_GetField( *ob, name );
  if( va.t == DAO_ROUTINE ) *ro = va.v.routine;
}

gsl_fft_complex_wavetable* Dao_gsl_fft_complex_wavetable_New()
{
	gsl_fft_complex_wavetable *self = calloc( 1, sizeof(gsl_fft_complex_wavetable) );
	return self;
}

gsl_fft_complex_wavetable_float* Dao_gsl_fft_complex_wavetable_float_New()
{
	gsl_fft_complex_wavetable_float *self = calloc( 1, sizeof(gsl_fft_complex_wavetable_float) );
	return self;
}

gsl_fft_complex_workspace* Dao_gsl_fft_complex_workspace_New()
{
	gsl_fft_complex_workspace *self = calloc( 1, sizeof(gsl_fft_complex_workspace) );
	return self;
}

gsl_fft_complex_workspace_float* Dao_gsl_fft_complex_workspace_float_New()
{
	gsl_fft_complex_workspace_float *self = calloc( 1, sizeof(gsl_fft_complex_workspace_float) );
	return self;
}

gsl_fft_halfcomplex_wavetable* Dao_gsl_fft_halfcomplex_wavetable_New()
{
	gsl_fft_halfcomplex_wavetable *self = calloc( 1, sizeof(gsl_fft_halfcomplex_wavetable) );
	return self;
}

gsl_fft_halfcomplex_wavetable_float* Dao_gsl_fft_halfcomplex_wavetable_float_New()
{
	gsl_fft_halfcomplex_wavetable_float *self = calloc( 1, sizeof(gsl_fft_halfcomplex_wavetable_float) );
	return self;
}

gsl_fft_real_wavetable* Dao_gsl_fft_real_wavetable_New()
{
	gsl_fft_real_wavetable *self = calloc( 1, sizeof(gsl_fft_real_wavetable) );
	return self;
}

gsl_fft_real_wavetable_float* Dao_gsl_fft_real_wavetable_float_New()
{
	gsl_fft_real_wavetable_float *self = calloc( 1, sizeof(gsl_fft_real_wavetable_float) );
	return self;
}

gsl_fft_real_workspace* Dao_gsl_fft_real_workspace_New()
{
	gsl_fft_real_workspace *self = calloc( 1, sizeof(gsl_fft_real_workspace) );
	return self;
}

gsl_fft_real_workspace_float* Dao_gsl_fft_real_workspace_float_New()
{
	gsl_fft_real_workspace_float *self = calloc( 1, sizeof(gsl_fft_real_workspace_float) );
	return self;
}

